﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace ShareFrame.Entity.Base_BasicData
{
    /// <summary>
    /// 省市区表
    /// </summary>
    [Table("Base_Region")]
    public class Base_Region
    {

        /// <summary>
        /// 主键ID
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 制单人
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 制单日期
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public Boolean? Deleted { get; set; }

        /// <summary>
        /// 父级编号信息
        /// </summary>
        public String Pid { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public String Name { get; set; }

        /// <summary>
        /// 城市编码
        /// </summary>
        public String CityCode { get; set; }

        /// <summary>
        /// 位置编码 用于地图定位区域
        /// </summary>
        public String AdCode { get; set; }

        /// <summary>
        /// 层级深度
        /// </summary>
        public Int32? Deep { get; set; }

    }
}